package com.yuanfeng.activity.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 满减赠折商品表
 * @TableName activity_reduction_policy_goods
 */
@TableName(value ="activity_reduction_policy_goods")
@Data
public class ActivityReductionPolicyGoodsEntity implements Serializable {
    /**
     * ID
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 活动ID
     */
    private Integer promotionId;

    /**
     * 商品公共表ID
     */
    private Integer commonId;

    /**
     * 商品ID
     */
    private Integer goodsId;

    /**
     * 店铺ID
     */
    private Integer shopId;

    /**
     * 创建时间
     */
    private Date createdTime;

    /**
     * 更新时间
     */
    private Date updateTime;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}